#include "_cgo_export.h"
#include "stdio.h"
#include "TradeBridge.h"
#include "stdbool.h"

void OnFrontConnectedTrade_cgo()
{
	printf("OnFrontConnectedTrade\n");
}
void OnFrontDisconnectedTrade_cgo(int nReason)
{
	printf("OnFrontDisconnectedTrade_cgo：\n",nReason);
}
void OnHeartBeatWarningTrade_cgo(int nTimeLapse)
{
	printf("OnHeartBeatWarningTrade_cgo:\n",nTimeLapse);
}
void OnRspAuthenticateTrade_cgo(struct CThostFtdcRspAuthenticateField *pRspAuthenticateField,struct  CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast)
{
	printf("OnRspAuthenticateTrade_cgo:%s\n",pRspInfo->ErrorMsg);
}
void OnRspUserLoginTrade_cgo(struct CThostFtdcRspUserLoginField *pRspUserLogin, struct CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast)
{
	printf("OnRspUserLoginTrade_cgo:%s\n",pRspInfo->ErrorMsg);
}

void OnRspQrySettlementInfoTrade_cgo(struct CThostFtdcSettlementInfoField *pSettlementInfo,struct  CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast)
{
	printf("OnRspUserLoginTrade_cgo:%s\n",pSettlementInfo->Content);
}
